package com.unicdata.ai.demo_2af.common.vo;

/**
 * @author lhn
 * @date 2025/06/25 17:12
 * @since 1.0.0
 **/

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 权限分配请求对象
 *
 * @author java-engineer
 */
@Data
public class PermissionAssignRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @NotNull(message = "角色ID不能为空")
    private Long roleId;

    /**
     * 权限ID列表
     */
    private List <Long> permissionIds;

}